# dict_convert = ["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"]

# temp = "".join(dict_convert)
# print(len(dict_convert))
# new = list(temp)
# print(new)
# unit = ["","十","百","千"]
# unit_2 = ["","万","亿"]
# for i in range(0,len(chinese_num),4):
#     temp = chinese_num[i:i+4]
#     for each in temp:
#         temp.insert()


# result = []
# chinese_num = ["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"]
# chinese_num.reverse()

# print(chinese_num)

# unit = ["","十","百","千"]
# for i in range(0,len(chinese_num),4):
#     temp = chinese_num[i:i+4]
#     print(temp)
#     try:
#         for j in range(4):
#             result.append(unit[j])
#             result.append(temp[j])
#     except:
#         pass
# result.reverse()
# print(result)
# print(result.index(""))
# print(type(result.index("")))

# a = '%.2f' % eval('1001.2')
# print(a)

# rule_1 = {1:0,5:1,3:2,4:3,2:4,7:5,8:6,6:7,9:8,0:9}
# def rule(elem):
#     return rule_1[elem]


# list_1 = [1,1,3,5,5,7,9,9,6]
# # rule = {1:0,5:1,3:2,4:3,2:4,7:5,8:6,6:7,9:8,0:9}
# newList = sorted(list_1, key=rule)
# print(newList)

# import random
# a = float("%.2f"%(random.uniform(0,10)))
# print(a)

# f = open("通讯录.txt","r+",encoding="UTF-8")
# name_phone = f.readlines()
# for i in range(len(name_phone)):
#     name_phone[i] = name_phone[i].strip("\n")
# for each in name_phone:
#     name = each.split("，")
# print(name_phone)
# print(name)
# # print(phone)

a = "12314"
b = a[::-1]
c = list(reversed(a))
print(c)
print(b)
print(list(b))